Fixed bugs with these two files spawning another main screen by calling main_screen.setVisible(true).