Getting ready for 0.7 release.
Fix some warnings.