Better handling of stats -- keep them in a transient SQLite3 DB