mninor fixes
dirty hacks (to be undone) after disk full
REFACTOR: refactored stats reporting code into reporting/reporter.py module