Fixed possible XSS.
Migrated software controller.
Use universal filter to fix character encoding errors.