Don't clean wrapper unless explicitly building
Don't malloc an image unless correcting for stride

Only when stride is greater than width do we need to normalize, so don't
malloc for a new image unless we know for sure that's the case.
KK flinger lib with mem leak fix