How was the United States affected by conflicts in other countries and by terrorism in the 1990s?