updates time handling code

times are now all just milliseconds until they need to be displayed