Fix a bug with the win32 code that causes processing of events to be delayed until there is an event that we don't process.
Some very basic key support, and mouse input support. Currently only the keyboard input is being used.