Added some encoder checksum stuff