This could'a been a much worse situation, just think what could have happened if that wheel had come off. Glad you got it home o.k. and got it fixed.
I spent yesterday under the truck just tightening everything up and hitting every zerk with fresh grease. Checked the lug nuts too. It's amazing how many bolts and nuts had loosened a bit since I last time I did this. So - 'Bolt Brothers - if you've got a little extra time, it might be well spent snugging everything up.