Allow event handlers to conditionally ignore events
Add the OnKeyPress event handler
Improvements to the To-do and Time Machine examples
Refactor event handling a bit