Changing to glfw3