Added proper multiplexing of commands

Allows communicating to both the relay board and the nanowii at the same
time without glitches.