stats
Set version on build
Various periodic statistics hacks