How did popular thinking about the mission of the United States change in the 1800s?