By looking at the codes, you may have a bad O2 sensor.
Regarding code number 6, your idle speed is controlled by the throttle actuator, which is a very expensive part - about $1,000.
Better hope it's just your O2 sensor.
2001 E430, Bourdeaux Red, Oyster interior.
1973 280SE 4.5, 170,000 miles. 568 Signal Red, Black MB Tex. "The Red Baron".