Timer fixes

Timer fix attempt.
Merge remote-tracking branch 'origin/master'