Added onJoin event.
Added onLeave event.
Fixed onLeave event incorrectly reporting false positives.