Added exception handling around OpenGL initialisation - will now display the error instead of failing to load silently.