Here is a Demo of how the qwe Hierarchical state Machines work. Documentation under development. Code should be final.