Change loadMainMap to return bool