Added numTopics option.
Added some output display.