Convert the PBX core to use read/write locks. This yields a nifty performance improve...