NeighborCaches: added missing const qualifiers.
QuadTree: comment cosmetics.