Merge pull request #24 from pavelgj/peh

Implemented basic leave event
Implemented async vetoing (first pass).