Comments plugin: add subject type, fix bugs and refine styles