Added doors and fixed placement code