Add a dummy keyboard handler.
Fix the timer initialization.