State programs designed to help people avoid foreclosure and stay in their homes have assisted more than 2,500 people in the past year.