Hey Mark,
Sorry to say, I had this EXACT problem. They tried changing "some different parts" (I don't know which) twice, to no avail, then had to REPLACE THE WHOLE SUNROOF(luckily I still have warranty)!
I hope this isn't YOUR problem as a new sunroof was $2200 CDN
