Construct Main Window. Build MiddlePanel and MiddlePanelInsert