Awww poor dude.
im glad it wasnt so much his head that hit the tree. ive heard that dogs can sezure(SP?) if hit in just the right spot on the back of the head.

all paws and fingers crossed for your fuzhead!