Re-arranged debugging output to be less verbose.
cat/type command can now display input from pipe/redirection.