Adding DEBUG messages and solved a bug when the initial read of LSChannel fails.