Filter and linedetector changes.