For what it's worth, the tune is from the Irish song The Bard of Armagh. I also always assumed that the cowboy was wrapped up for burying, but I never thought of him as a ghost. I guess I never stopped to wonder why he would already be wrapped for burying before he was actually dead. Love the parodies.