Internalized patterns / window.Scenery to FSM

Also internalized playerHopsOff to FSM, and added "Math." to a bunch of
round(0 calls.