Adjust lastTimeIn to only account transactions >1BTC. Some of the richer address have "donations"/advertisements that random people send to them to post a message in hopes others checking out the richer address will see. For example
Good idea. This will also stop count random dust.