Driver & passenger floor boards get wet when rains and sunroof makes loud noise on 2003 BMW 325i

Sunroof has not been used in 2 years due to fear of not being able to close. When opening and closing makes loud cracking noise. Not sure if water leaking from sunroof into car though some internal passage...cloth around back and front panels loosen as if from moisture.

Asked by for the 2003 BMW 325i