New program could help thousands of Detroiters avoid foreclosure.