Merged omnibox model and view into one function, improved filtering based on input path