Upgraded to glfw3.