Added support for search history in the terms panel