updated state machine

added visible state actions, commented out line 170 in game.js