Centralized printing to the printStats() function, and added filter by tip range.