Implemented the error report system with an EventSystem.