Today's technologies can make corporate snafus go viral in an instant. Fortunately, they can also be used to nip them in the bud.