As stated above, read this it explains it very well.
Window thing is simple... Apparently its in our book.. but hey, I am a man and don't read such things..
When the battery is removed, the windows need to be reprogrammed so the auto closure knows when to stop..
Just goto each of the other windows, lower it a couple of inches, then raise it back up to close again, keep your finger pulling the switch up when it has stopped for maybe 5-10 secs, you will hear a very quiet click. This click means it has been set at the close position.
Do this on each of the windows and then try your drivers door again and all should be good.
Weird thing was, this didn't happen when i disconnected the battery.. Go figure..
Hope that makes it work!
It's often a good thing to check using the search function to see if your question has already been answered.
This forum has been running now for over 5 years and during that time has covered inumerable subjects. If anyone has an enquiry often times it will have already been the subject of a discussion.
Remember Search is your friend