Update to current GLFW and fix Retina support.

Please review the two commits separately.