lookups: selectively process `case` in the metrics window
GFileChooserScanDir: increment the history count, otherwise we will keep allocating a constant value
GGadgetWildMatch: NULL-check before dereferencing
GListClearSel: avoid NULL ptr dereference
Merge pull request #1644 from adrientetar/file-chooser

GFileChooser: fix various issues that could lead to a crash
Merge pull request #1641 from adrientetar/case-exclusion

lookups: selectively process `case` in the metrics window