Comments and debug when blocking channels added. Fix for potential vulne...

More debug, comments, Fix for possible vulnerability in log.c