Got a basic start on refactoring. Will continue later.

I also removed the EscapeApplet.java class. Who uses applets anymore?
You can't even self-distribute them now.