Implemented interactive terminal.

Packet: Fixed bug comparing checksum smaller than 0x10.