Added search for num. of terms, pretty search box