Main window is added