minor refactoring/reformatting
added getLongestLineLength
added emailsSent counter
added statsUpTime and improved stats formatting