[r166] buggable beds

I can force beds to never stay deployed by deploying the bed, undeploying and then redeploying before it goes into the stockpile. The bugged state persists after reloads. The bug goes away if it’s a bugged mean bed and then it’s upgraded.