Added GLEW init and error raising when SDL, a new window, or GLEW fails to initialise.