Added unread messages (not in view). Code is slow.