Pulling a classic building back from the brink