Added a prefix to member and group IDs so that member and group
invitations could be distinguished. Then filtered the wanted
participants into lists of groups and members and duplicated the
group-adding code to work for members.

Also added a bit to update minimum and maximum numbers if they have
changed.

Finally fixed a minor style issue with chosen multiple select lists.
also here...