Adding search_pending to gui.