Got autocomplete working

But I broke the ui...