Straight solution to log stats;
Self-testing added.
Self-tests done;
Per-minute logging added;