You got me on that one. You're even a bigger nerd than me, and that's saying something!
Am I a nerd or just your average Google searcher? Huh, I just noticed the spoiler button was omitted from my last post. So to end the suspense, Bones' middle name is Horatio and I think the captain you hinted at was Horatio Hornblower, a creation by C.S. Forester whose last name is similar to DeForest Kelly aka Dr. McCoy. And the answer to my question is I used a Google search.
Edit: David beat me to posting the answers.