Added basic chat and improved general functionality