#3: start of real creation of main window