revised locking in OpenSimProfile and OpenSimSearch