Its a very strange set of circumstances that this happens,
only when compiling in “debug” (against the debug versions of the windows libraries,
and without optimisation) and when linking with http://www.glfw.org/
and http://glew.sourceforge.net/