If both of the lights are flickering it's likely your headlight switch is beginning to fail. Or, the ground wire going to them may have a poor ground. As far as their not closing it sounds like their gears are stripped (rebuild kits are readily available from all of the vendors).
If you're interested in gaining about 50 horsepower for under $100 e-mail me at [email protected] and I'll tell you how.