add beds, external lights, fix various glitches