rewrote sysex encoder/decoder