Emit error event for notify

Allows to plug in growl or any other notification service.

Important for convenient development.