this sound very familiar, like being stuck in a loop…
one of the problem i encountered was that update components would not trigger the UI to indicate the child page had been changed, so saving it early and often became a reflex for me… if u get the little popup notification, that means it had changes that needed to be saved whether u knew it or not.
the next thing i did was strip out ALL the editable area set ups and update all pages while they where OPEN, and then save them to make sure all the child pages were exactly like the master page… you will lose all customization, but is sounds like this is where you are at anyway.
in your case, since you have manually fiddled with the pg_xxxx attributes, i would scrub all fragments and leftovers from your pages (including the master) to be sure there’s not some conflict going on. test each are you plan to make editable by changing something trivial on the master (like misspell a label or change a p) to make sure the master is propagating as it should, and you are saving as you should.
once that is working as expected, just pick some element and make the whole thing editable (i.e. give it a unique name and check the box)… be sure to choose the correct editable area from the ACTIONS tab, there are 2 and i got those mixed up on more than one occasion… you want the on that gives you the options for inside the element.
if you have components on a master page (nested situation)… like say a nav menu, you need to be sure and set that to “don’t update” because for some reason updating the master page will go and update that too and screw things up even further… i think for my nav i just gave up and said it’s no longer a component, just copy the code.
come to think of it… i should ask… are the part that keep resetting unexpectedly, are they areas of a component that you are using on your master page?
my experience is that those are not manageable from the master page, you likely need to manage them from the component… which is partly why i gave up on it… too many balls in the air at one time for me to keep strait.