replace loop through linked list with iterator
removed replace-missing filter

use multifilter if you need it, otherwise it's a 10% increase in this
function
moved to package

so other programs can import it!