Debugging cleanup
Piped commands now working properly.
Remove trailing newlines from message payload.
Pass the error along when a command fails.