Bump version. Fix a number of broken dependencies.
Merge the 0.59 release into master.