Fixed issues with keys not always being consistent for GUI/game key consumption
Merge pull request #194 from Revolutionary-Games/183-key-events

Key problems with gui fixed.