Fix GlowInTheDark traceback

I saw some tracebacks on DS where PtFindAvatar would return None and cause a traceback. So, I changed the notification testing to ensure that the local avatar is the event avatar (local avatar should never be None).

Also, whitespace fixes.