if corrected bandwidth is invalid (negative or infinity) then fall back to uncorrected.  debug_info will have info
use setImmediate instead of defer
reduce size of load_img method by using a function generator
add eslint pragmas
use double quotes consistently
get rid of unused variables
extra blank line at end of file