Added error checking to map building. Added teleport spell.