Added methods for storing/loading stats

Using preferences, maybe?