Copy main into SMP file.
Tweak mains.