Actually, natural light streaming in isn't necessarily a bad thing, as long as there's no glare on your screen, and as long as you're not too close to the window such that it impedes your vision.
However, that then creates a problem that you can't edit at night.
Your room must be well lit, and must be lit the same at any time of day or night (whenever you edit).