New main window added and sliced