Added comments, MainWindow cannot be resized.