fixes and additions to filtration plus printing