Test chat modifications
chat: store sync tree status in application
chat: fixed chat_usrname, removed prints, fixed ostringstream