- task: rework of gallery search code (incl. new features)