Fixed a stupid mistake in filter error handling.
Added a settings UI for filters.