add some bug fixes to the new debugging code :-(
add some bug fixes to the new debugging code :-(

williampma/relex,opencog/relex,linas/relex,virneo/relex,anitzkin/relex,opencog/relex,leungmanhin/relex,virneo/relex,leungmanhin/relex,williampma/relex,AmeBel/relex,ainishdave/relex,AmeBel/relex,rodsol/relex,linas/relex,rodsol/relex-temp,AmeBel/relex,ainishdave/relex,anitzkin/relex,ainishdave/relex,anitzkin/relex,rodsol/relex-temp,rodsol/relex,williampma/relex,anitzkin/relex,ainishdave/relex,linas/relex,rodsol/relex,virneo/relex,rodsol/relex-temp,opencog/relex,rodsol/relex,rodsol/relex-temp,anitzkin/relex,williampma/relex,leungmanhin/relex,rodsol/relex-temp,virneo/relex