MainWindow gui creation handled by CWindow