You definitely want to close the flap to prevent any light leaks, however the lights from your equipment shouldn't effect your plants. I'm a newb so I could be wrong there.
It'll be easier to just keep the filter on throughout the process. You want to always keep the fan on to continue bringing fresh air into your tent, I tend to turn the intensity down when they go lights out.