Merge pull request #112 from nuisanceofcats/master

Build system cleanup and release/stats options.