I think Thom is right. The switch inside the roof locking mechanism may be bad. If the windows operate as normal from the switches it points to this. There are a few threads on replacing this.
For the window not to roll down enough when opening the door means the regulator has stretched. rplace or adjust.
see here:
Window regulator permanent fix for stretched cable - 986 Forum - for Porsche Boxster Owners and Others