fix window callback definitions. add window param.

Fixed window callbacks to reflect documentation. GLFW docs show them as having a GLFWwindow parameter.