Fixed memory leak when calling ModelObject::GetModelImageVector() multiple times in the same instance.
More memory leak avoidance in ModelObject. Removed a couple of error checks in imfit_main.