1. allow up to 255 units, up from 16 and guard against overflow. important fix. 2. fix resend bcnt. requires keeping the length of the packet seperate from the scnt. 3. audit error() path. fix problems.