Minor tweaks to SerialPacket code