Implemented key buffering to allow multiple key presses at once.
See http://www.swiftless.com/tutorials/opengl/keyboard.html