migrated the smTrigger statement to GDE
fixed something in the visible variables.
add isInStateExpression migrated.
Merge branch 'master' of github.com:mbeddr/mbeddr.core