window: Typeahead search only when views are loaded

On startup when immediately typing on the keyboard, the views are not
yet loaded and this resulted in an error for the typeahead search.

Check that the views are loaded before allowing typeahead search.
3 jobs for wip/mschraal/window-disallow-type-search-on-startup in 9 minutes and 44 seconds