BUGFIX:
avoid collission between TX and RX buffers
update factors for wire-protocol
centralise state-changes into one fnction