Ugh....that'll do it. Do post back with results of the swap though, I'm curious.
As for the 1582, I'd first suspect dirty throttle body assuming that is the only code stored, and the engine seems to run ok. Almost anything can trip this code. Fuel filter, spark plugs, etc...
Do you have access to a Vag-com?