Cleaned up the GLWidget.