Added preliminary class support
Fixed typo in condition
Added support for flowstate to read alternate settings from the configuration.
this is to support display of the progress of a flow. See flowchart.default.js