After two centuries of faithfully guiding sailors around a blustery headland in southwest Scotland, the lighthouse needed ...