added portals

fixed crash in EditorState::NewMap
fixed bug in TileGrid::LookAt