adding error count and custom message

The user is able to trigger an error counter when an unexpected
behaviour happens. This will increase a special counter underneath the
progress bar.
The user is also able to send a custom message that will be shown when
an error is caught.