Added debug logging for events.

Something's just not right about events still.