Imaging Fix

Would still break if auto threshold wasn't being used - now fixed.
Removed old address