Made MainWindow to a JDialog instead of JFrame. Added PopulationSetting dialog and panels.