Removed old debug code and added debug for bytesSent type.