4.0

Now a full release. Please continue to report bugs.