Fixed timer

The timer would sometimes add 1 second and didn't zero prefix the milliseconds.