Simplifying the communication between the Config Dialog, the MainWindow and the glWidget.