added generic message events, moved karma-specific events to their
plugin