Added some anti-XSS features and config.