bunch more cleanup, fixed bug in time report last_day printout