Fixed #53 - completely refactored call and processing plugin events.