sp_filt_mkII: separate out insertions and deletion images

Seperate out the handling of insertions and deletions in all parts of code.