Increased efficiency of room-room and room-tile collision detection. And prevented a memory leak.