Tweaked Backstab.StateMachine and documentation