Changes to search box, parallelize sample searching