Fixed vulnerability

- Persistent XSS through the thread title fixed
Bug fixes

- Fix to some of the exports not working in legacy (non background-job) mode
- Issue also occured while using automation