fix printing of new topics/commits, handle the case when a topic gets deleted