Fixed XSS attacks; improved stuff in general