Finally fix 'rename' logic.
Some more premilinary work on experiment sharing.