Fix whitespaces in XSSES, fix syntax errors