Prepare the window for MDI area