add frame to main window