Split the oversized JEMU class into a Main class and a JEMUApplet class, and further split the JEMUApplet into several components. JEMUApplet requires additional work, as it is still full of terrible coding practices.