Working render code for beds?

fixed previous bug.  now I need to test if the proper images are being
rendered.