Ensuring we do not try to access more lines from the errorStack than there are ...
Finally got rid of the damn image smoothing.