in reply to
Stress affecting code output
My honest opinion? Leave the job. You seem to be a nice professional, so why really care?
The worst thing is to see so much good will and responsibility wasted on a bad experience. Believe me, I've been there and I know what I'm talking about.
Your boss doesn't appreciate you. Leave. I'm not saying it will be easy - it probably won't - but you really have to contribute in an environment where people recognize you.
Don't sink along with the project. Don't let people blame you being you the only person who really cares.
There must be dozens of companys out there who need a guy like you.
Good luck and believe in yourself!