fix rx bit proccessing
added collecting rx checksum
add reporting tx checksum

next add error checking in main function