Quartermaster General Montgomery Meigs had one of the hardest jobs in the Union Army. (Library of Congress)