Check the URL links for the product thumbnails. I've just restored the code to "as is" from the distro, plus the DEBUG gumf. It worked because I was playing with it to try to get it to work.
Where is your install of the current code? It'd be nice to see the current code that's available for download working somewhere to test things.