irclogger: support topic + esthetical changes + fix bugs + prepare for markdown or html outputs