Added search history functionality, tagged 2.0.7