Signs of a turnaround in foreclosure market