Best practices keep demolition’s dangers to a minimum.