Code to process UI input messages and verify them with checksum.