How did changes in transportation and communication alter the economic landscape during the first half of the nineteenth century?