Various changes to get ready for first public release.