Fix permission.global and group.global, add has_permission and in_group aliases. Add dPlayer tag 'selected_npc' to return the NPC currently selected with /npc sel.