Improvements for relaying error to the client.

- fixed issues when changes and errors occure in succesion.
- errors are plain strings
- improved error messages