Gday Bill, you are right the trim has been replaced before, I have that vinyl they used in my aftermarket samples..
As far as the glueing of the sunroof panel goes, you should always only glue the edges down from the back.
As far as getting the old glue etc off, just get some really rough sand...