This NYT editorial is pretty good on policies to ease the foreclosure crisis. There can be some justifications for lender-side help, but only if the emphasis is on those homeowners who were victimized by bad and predatory lending practices. But those lenders are precisely the ones who shouldn't have any kind of bailout.
Big first step is finding ways to get rid of the prepayment penalties and easing people into reasonable fixed rate loans.