add formatting to history, add blur to location on search