functional form of state machine GUI, though still displays wrong instructions...