Extracted a bunch of crap that was in changeState and threw it into
machine.java.

Also removed an unnecessary variable. 5 lines into 2 SCHWING