3.0 release.

Many updates and fixes. Please see readme.md for changes.