added garbage filter, all communication seems to be reliable now
change byte type to uint8_t, added two confirmation bytes