SharedPtr<> rvalue-reference improvemnets; and other minor related cleanups (mostly performance improvement)