If you don't bother about being slow, you can also make it much easier:m becomeForward: (m copyWithTrailerBytes: trailer)
|trailer source m |
m := (Gofer>>#load).
trailer := m trailer.
source := m getSource.
trailer sourceCode: source.
and if you want to do it for the whole image you can use one bulk become and it will be fast.
I will experiment and see if it is working.�