Coping with Crisis: The Resilience and Vulnerability of Pre-Industrial Settlements