bug-fix: close autocomplete on enter keypress

- close the autocomplete when a typist enters a word but
  does not select it from the autocomplete drop down menu
- set the delay to 0 ms to quickly pop up the autocomplete