fixes for UI and error messages
Merge pull request #2 from StarClutch/XMLtoErrorCodes

fixes for UI and error messages