Bug fixing in Reports

- Fixed report editing: steps 3 and 4 were lost
- Added loading frame for report generation
- Fixed report generation: header with character '%' was not escaping