Support "Search" box in queue display and Purge-queue command.

Python part.