WIP search: new facets gui engine

Rebased. I need to test it first.