updating to new glfw3