P0440 is a evap system malfunction, this has nothing to do with the throttle body, it would be in the fuel tank/vapor pressure sensor/vaccum switching valve/or canister. Did you check to be sure the gas cap is on tight? Do you live in a northern state that uses road salt? I have seen salt/rust take out these VSV's.
P0505 is an idle system malfunction, be sure that the air intake tube to the throttle body is sealed/not leaking or damaged or such. THis points to a throttle body or throttle pedal issue, be sure that the throttle body is clean and not restricted, the dealer should have checked the pedal with the scan tool already to verify proper reading, I have replaced quite a few throttle bodies for this concern.
Struts, if they are leaking then they need to be replaced, new upper strut mounts are a very good idea while you are in there, be sure the front caster arms and lower ball joints have been inspected also, these love to wear out on this car. It will need to be aligned after this repair also.
This is a PAY site, even if you made a deposit we do not get paid until you click "accept" and any amount of bonus is always appreciated.Please let me know if I can be of further assistance and thank you again for using just answer!