More state chart fixes
Merge branch 'master' of https://github.com/jalau/GRP22_18649