adding debug/error callbacks to downloadbuilder (and now using non-min version)