And should it become necessary, the values are still there after power outage, they remain available in the log file. A script could list all occurrences of changing an offset from the log file, so that you can reconstruct where you were in the g-code file.