Trigger proper event for displaying error messages. Fixes #485