more publish refactoring
improve debugging scripts
improve channel deletion test error reporting