private void shutdownOpenGL() throws Exception
	{
		log("Shutting down OpenGL");
		
		if (Keyboard.isCreated())
		{
			log("Destroying keyboard");
			Keyboard.destroy();
			
		}
		
		if (Mouse.isCreated())
		{
			log("Destroying mouse");
			Mouse.destroy();
			
		}
		
		if (Display.isCreated())
		{
			log("Destroying display");
			Display.destroy();
			
		}
		
	}