i am only on my 3rd batch so take my reply with a grain of salt... but i have read on here that leaving the lid on during a boil is one main cause of dms. However, if your using extract (as i am as a new brewer) this has been (supposedly) taken care of in the malting process. You can have the lid on to bring your water to a boil, but once the malt has been added i would not use the lid any more.
Continue with your process and let it sit, be patient with your primary fermentation and your time in the bottle and it will turn out ok. Just understand next time that your beer can be better if you leave the lid off. Hope it turns out great.
Cheers!