convert to unix line endings
Generalizations to printing stats
refactor rearrange event handles
Simple refactorings to make separate RequestStats
Add TaskStats/TaskStatsEntry class to mirror RequestTask