IsFailed: write error info into txt, GetMaxAreaFeature: fix a bug of getting none filled area