attempt at patching #51
Added debug statements
More debugging
track down infinite loop
reload logger
more reload to ds1
Final path towards workaround for #51