Writing the statistics to hard disk works in simple cases. Started writing javadoc and updated worklog.