Added base event for engine shutdown
Updated event system