Great pic!I think the visors just stay due to internal friction on the visor rod.
For the rubber trim, you just remove the sunroof and peel it off from the outside. When you put the new headliner in, pull the material tight and install the rubber strip to hold it. I used paperclips with glue, and then trimmed with a sharp razor
Is the rubber ring or strip glued in? Does it go over the edge where you have the cloth clipped and glued? I think it was replaced when the headliner was - before I got the car. But the installation could have been neater.
I have done cloth and bow type headliners, and have done a hard board headliner, but not one with a factory sunroof.