Autocomplete Feature + Fixes

Added the autocomplete feature to search with a few small fixes.