Added start of keyboard handling.
ESC/TAB, SPACE/ENTER, UP/DOWN, LEFT/RIGHT (4D).