The problems described with the sunroof working part-time and working wrong part-time may be a bad relay. Its located in the sunroof assembly and is a real pain to get to, but cheap to replace. Bill ------------------------------