Extend main window