added qDebug() check in SentPacketHistory for seq numbers

used (unsigned short int)1 instead of 1 when calculating
expectedSequence