Added chat settings, bugfixes