Fix autocomplete issues #176 and #177.

- Fix #176: lost focus on field when clicking in the Auto-Complete popup.
- Fix #177: async response from provider timing issue in Auto-Complete popup when typing very fast.