With federal funds, Minn. weatherizes more than 18,000 homes