Fixed a bunch of timer bugs.