Added some protection if glfw or glew fail to load. Still to add output to error log.