fix chat styling bugs + xss filter