Some changes to search autocomplete behaviour, layout fixes