Install key event handling, no processing yet.
Set timer to correct value for 60Hz.
Clip getpixel function to screen size.
Implement basic key handling.