There was only one door but many windows.
I believe there was only one window, and God said not to open it. Genesis 8 says window singular, not plural and Noah was not allowed to open it until 40 days after the waters receded.