Fixed a crash because of uninitialized gl function pointer, Disabled console in the IDE on windows