added queue functionality to qinvite.py