My overall impression is that the code went through multiple revisions and what we have in the chapters is not all 100% the final code, and neither is the code in the downloads. I found the errata (Errata: 1st Edition) very helpful in solving the problems I was having. If you haven’t already, you could report this difference there.