support for topic searches and other misc fixes