Lot of minor changes and fixes, yet another wip on advancedSearchPanel