Simplify keyboard interaction
Refactor handlers to use defhandler macro
refactor window drawing code
Fit canvas to screen