Some work on TransferToEnvironment
Stuff I forgot to commit in bullet