As far as the check engine light being on, you need to have the computer scanned to identify why that is on. Now for the dash lights, it could be a few things. All power for the dash lights goes through the headlight switch. It could be bad, you could have a bad body ground, a poor power connection. Make sure the fuses are good. Keep in mind, they may look good and still be bad.