GLFW: Added glfw key support. Fixed a runtime error on windows. Style fixes