Various fixes and preference settings for marking read/unread.