moved static callbacks for GLFW out of class members