sp_filt_mkII: make it possible to split work, build filter rtree and dead code purge

Make it possible to divide work up by surface and read.  (cycle to be decided)
Build filter tree.
Clean up dead code.