Fix crashing in protocol_events.py and general_events.py

There were some instance variables missing that I added, sticking to the style as best I could. Not sure if the log for gernal_event should be CORE EVENT.