Fixed attachment of buttons on Prisoner tab, and a few smaller issues.