Added Autocomplete completion.
Implemented event queue.