Added mutex
Added putting message into NCChats