autocomplete / search tweaks and fixes