If I am correct, 400D is still like that.
Basically both cameras has pros and cons. With your budget, it should fit in the camera and the lens. I have both brands D70s and 30D. My opinion is that if you prefer non flash photography, then 30D as Canon control noise very well. If u are a sharp and colour freak, then Nikon system. Get the D80 cause they support both EFs and D lens. D40 does not support D lens.