Fixes for ipad, and state improvements for search results