Remove state checking from rPi communication as well

Forgot to remove the state checking from the rPi echo code as well. Remove it and other dead code, move rPi echo into its own function.