New features, bug fixes

See README for changelog.