Fix getting unread topics, and add support for posting replies