Update EmulatorMain.java