Moved global SysUserId from Database to Config.
Made parent group required for groups. Resolves issue #161.