Minor tweaks in topic_model.[h,cc]