Thanks for the replies!
Thanks for the links too Doris! And Pesto, I really appreciate the detailed explanation.

I'm leaning towards the D40 too and maybe get the SB-400 flash. I take a lot of indoor photos of my kids.
BTW, what is ISO anyway?
Oh, and Pesto, I read at another thread a suggestion to get UV filter to protect the lens. what brands are good?