Several bug fixes and features. See CHANGELOG.