search: add some debug code
search-display: disconnect existing context