Adds a percent done indicator to the search window. Credit to Dan Miller
for the implementation idea.