Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond