How important was Maine during the Civil War?