edge case with moving up the windowLo after retransmits, there is a fair bit of duplicate code in send atm let's try and refactor this maybe