Added input handling. The mouse seems to pause execution, though
keyboard does not. And, key presses are registered 3 times. DispString
shows off key capture by moving left and right on 'a' and 'd' respectively.
Will add a bit more testing, and see if I can figure out why I am capturing
three events each time.