Deleted unused files, added chatlogging setting and warnig