glfw: Various simplifications.