Add gApplication->InitializeGraphics(), allowing to run some of the GUI tutorials (there still an issue with gClient)