Add window focus/blur events to add the 'disabled' class.
Add some constraints to starting the timer.

The timer shouldn't start if the 'options' pane is visible.
If the 'detail' pane is visible, hide it when the timer starts.