Bugfix in error reporting.
Test of status text parsing

Initial support for parsing status text and converting it to a number.