- Should now correctly do corrent actions when transition is between different submachines and their substates. - Fixes #32