Set main window title and minimum size