Rearranged the back end of the structure.superimpose user function.
This is just to shift more code into the 'superimpose' module.
Authored by: bugman 2011-10-26
Parent: [r14927]
Child: [r14929]