Fix issue 4. Removes debug output from pipe mode.