the DME/DDE CD97 54 code is for the active steering fault. I would take it back to the person that did the alignment, & have them align the car with the engine on. Tie the steering wheel down straight. If they have a computer alignment rack, their system should show everything on the alignment sheet when done.
As far as the other codes, post them where we can see them. Did the car run like this before you purchased the car. The AGM should be entered into tools32, but it will not bother anything. Try unplugging the MAF sensor, & see if the engine runs better? If it does idle better, it will be lacking some power this way, but should run smooth going down the road. Lets start here, & see if we make progress.