Added glfwPollEvents to start getting input events via callbacks (change in glfw 3, was not neccesary in glfw 2).