Fixed avatar problem, chat improvements