Bugfixes:
- It was possible for data files to overwrite each other. This is now fixed. If a file attempts to overwrite another, an error will occur and log will not progress. Also this should never happen now.
- Fixed various bugs in reports;
- Fixed various file numbering issues.