The restoration of perfection: labor and technology in medieval culture