Minor change to if else statement on the key handler to use the single
statement variation instead of curly braces.  I think this is quite
readable when there is only one line of code.