Fixed unread message thing, add error popups, fixed ui problems, see the doc for further changes