SDL based map editor