EventLog and ObjectEvent error fixes

Fixed issues with eventlogs and object events already being registered
Ignore file

Ignore file