sp_filt_mkII: Tidy up object detection struct and misc cleanup

-Tidy up object detection datastructure by creating container that also stores size n.
-Free created object maps when done with them.
-Clean up make_filter code a little + WIP capture of object info.