Here is the 100% crops of my test yesterday. Canon 20D top and the Canon 40D underneath. Both done as raw and cropped and converted in PS to jpg. Unaltered in any other way.
Tell you the 20D has heaps less thermal noise.
I always had the impression that the 40D was slightly better?

Might have to keep the 20D yet!