After years of finance jockeying that barely kept the company from tripping into bankruptcy, its footing is relatively secure now. A smorgasbord of entwined elements converged in the rescue: a new labor deal, a deft debt restructuring, an equity offering that allowed for debt paydown, an operational downsizing, the improving economy, and plain luck.