You may have a bad compressor, seems to be common on these things. You need to get high/low side AC pressures. The codes aren't likely related to the lack of cold air, although your passenger side my be problematic if the blend door is broken. For a code 52 on the recirc door you might have a split actuator. I posted a fix for that a few weeks ago on here. Again, not likely to cause an AC issue, but something you may want to investigate. Get your pressures and post them up, that will tell you your next step.
2004 Imola BMW ZHP
2006 Commander Limited Hemi QD2
"Bought, Not Built"