First pass at event invitations support + few bug fixes.