Rework DETACH to be multiprocess safe, version bump.