almost completed bed render code

noticed that we are pointlessly recording the string value of the beds
pairs for each bed.  could be simplified to an ID, which would also make
certain parts of the code more efficient as well.