Numerous minor bug fixes.
Updated dependencies.