Fixed issues resulting from upgrade to GLFW3.1 in fox 0.8.2