Startup crash bug when display prefs are out of date double-fixed.

* Local storage bug when IDs array is empty, fixed with spec.<br>* quick_search has guards in place in case display prefs array is empty for any reason.