Changed some properties of autocomplete

Autofocus causes the first element in the list to be highlighted, delay
controls how long between keystroke and search update, minlength is
supposed to control how many letters before the search happens, but it
doesn't seem to work with 0