Added "Insert" Mode

Moved the responsibility for trimming a partial
match to the autocomplete control.

(this and async are prerequisites for web lookup
addresses which is coming next)