Finished redesign of user group management: administrators no longer require dba rights; any user can be made group manager; support renaming/deleting groups... Fixes to galleries and image dialogs.