Divide invites list into open and closed. Closes #7.