Extended search to "build" a query

This extends all of the search features to "build" a query and hide the search queries when there are no possible results.