- Change how some internals in AbstractStateMachine are synchronized to limit changes for deadlock. - Relates #359