Marshal-based deepcopy() instead of dup(); merge envswap() into envget()
Marshal-based deepcopy() instead of dup(); merge envswap() into envget()

thender/ppp,maddenp/ppp,thender/ppp,maddenp/ppp,thender/ppp,maddenp/ppp