Got the map editor working with bases