added query debug msgs for allocating
TopNodes in TopTree.