wersja z ostatnich labow
remote end window width handled correctly
Fixed packetGetChecksum; added validation on receive; other minor tweaks