Merge pull request #2 from Ichoran/master

Improved reporting, more robust interaction between code generation and SBT, and version-specific flags.