To make things more interesting, we want to add event handling. As we know from other programs, we have event handlers for keys, mice, and event timers.