Fixed the error message when an exception is raised.
Fixed a bug with OSX where the GL version isn't correctly set and added debug info to help know what version is running