rename subroutine restore_effect_chains -> restore_global_effect_chains
var naming error
fix misnamed variables
fix didnot restore project effect chains
EffectChain: don't massage data structures during restore
fix not finding PeripheralState.json