moving the gui from SDI (Tabbed) to MDI