Fixed dialyzer warnings.
Improved FSM behaviour.
Removed PRINT statements.
Merge branch 'test' into dev
Bump.
Merge.