Keyboard fixed

No more ghost keystrokes.  Still doesn't detect keyboard as keyboard but
all make/break codes seem to be reporting correctly.  We will still have
to do a bit of manual decoding for strings, but parsing the key buffer
for in-game controls should be relatively simple now.