More resource model fixes and tree menu updates.

CreateGroups flag now works for items, as well as renaming.