Added bPermissions API linkg, added configuration, fixed staff mode inconsistencies.