I stopped the crash just by changing this line to
```
if (roughThumbnail != scaledThumbnail) roughThumbnail.recycle();
```

That way we can still recycle the roughThumbnail if it isn't being used any more. Does that agreeable?