closes #485 Fixed issue where newly created groups cannot be destroyed.

Groups that are loaded initially retains a reference to a list of all the groups. However, groups created on the fly do not. Fixed by adding new group to master list and retaining a reference.