Fixed a bug with mutliple messages in group/friend chats.
Made avatar file/fetch asynchronous to stop blocking the ui