implement timers, fix formatting of stats view, fix current_time function