Thank you everyone for your advice... I guess it's not so bad that this X5 has had some bodywork, it's just that I've never owned a car thats had any body repair but I figured this was such a good deal that I couldn't let it pass.
Thank you all again

I feel much better now about my new purchase