prevent map editor from crashing if loaded map is invalid
Merge pull request #1100 from minus7/mapversion-editor-crash

Loading map with invalid version crashes editor