Moved the timer code out to make notes.py shorter. timer.py is new.