more minor cleanups to new (resurrected) SharedPtr<> code