make use of GLFWs methods for game ending/window closing. #40

* ESC now calls glfwSetWindowShouldClose(window, GL_TRUE)
* pressing the [X] button at the top right of the window now ends the game and closes the window too