Thanks, I tried that. Unfortunately, changing a tag with mp3tag still makes mp3gain undo not work.
Also, I noticed that changing a tag with mp3tag changed the cover art type from jpg to bmp (when it is really jpg), making the art not display any more in Godfather.
Yes, it really does have both these problems in current version. However, one important detail: I'm working with itunes .m4a files (aac). I tested an mp3 and neither of these problems show up.
And sorry not to give all the key info initially. It didn't occur to me this might be m4a specific until you couldn't reproduce the issue at all.
And yes you guessed correctly that I'm using aacgain with mp3gain, and that I'm using Apple m4a files (they call them aac but give them a m4a extension so I don't know the difference there).