P0171- Look and listen for any vacume leaks-If none present you need to add fuel via the maf table because you are to lean.
P1133- It is possible that your getting this dtc because of your lean condition. If not you may need a new o2 sensor. If you didnt have this code before then i would think it would be because of the lean condition.
Again flash the pcm with the 100% stock .bin file. start from there. If you dont have a stock .bin file anymore go to the repository on hpt and get one. Once you do that make a ltft+stft histrogram and plot against MAF output frequency in hertz. In other words do a maf tune...drive for as long as you can.flash and repeate untill the FT's are locking in at 0 at PT and FT.And you probably shouldnt go over 7500 hrtz without a wide band.Just adjust idle and PT by doing it this way.Then above 7500 hertz (or what ever wot is for you) just watch your o2's and adjust accordingly via the maf table.Either increasing it for more fuel or vise versa.You need to get your fueling straight.Both WOT and PT. Then work on timing. then trasmission shift points ect.
As far as the other code im not sure what that is...maybe someone else can anwser. In tho older cars they used to call the alternator by the term generator.
Again im almost certain you have a vacume leak.The smallest on can make it throw a lean condition code.Chack everywhere...vac lines...lim...everything.