Thanks for this. Also, recent a HN discussion about State Charts, https://news.ycombinator.com/item?id=15835005
which led me to David Khourshid's worthwhile "Infinitely Better UIs with Finite Automata" presentation, https://www.youtube.com/watch?v=VU1NKX6Qkxc
and the article "You are managing state? Think twice", http://krasimirtsonev.com/blog/article/managing-state-in-jav...