2 things first is the sunroof set as in open and closed fully in a continuous motion . 2nd have you inspected the fuse box under the bonnet these fry themselves after about 8 yrs roughly this is of course as well as the RF receiver not instead of . Lots of odd faults thrown up by bad battery...