Need some help with a few codes.

A vac leak can cause a crappy or wandering idle. Keep looking for leaks. If you use a vac gauge, you should see almost 20" hg on the gauge.

Vac leaks relate to a lean condition as well.