Fix regressions with startup/shutdown hooks
Version bump for release.