Renamed data classes to MS convention, added OnExitSimulation event