-added error checking for event handling in registerSystem -now only valid handleEvent() functions are taken by system during register