DipylonUI::mainWin is now a class attribute