The most explosive end in James Bond movie history was actually a masterplan years in the making.