KPTreeController:
- add debug mode
- return a set of grid polylines for bucket debugging