When a prisoner dies, what happens to to the body? Is it released to his kin for burial? What if the family refuses to hold a funeral or can't afford one? Are there cemeteries on prison grounds? Are unclaimed bodies ever given to medical schools?

Well I saw a documentary from Louisiana State Prison a couple of years back, and there they had a cementery. I'm guessing the prison buries those who the family do not claim. As for medical research, I guess the rules are the same as for eveybody else - either personal consent or family consent.