Factored auto_header method out for other use.
Factored search term scrubbing into its own method.
Implemented search filter.