wait function
Merge branch 'master' of github.com:jamhed/phantom-fsm
readme update