Various minor nits.

The calculation in queue_len() depends only on standard unsigned
arithmetic in this case, so don't imply it needs two's complement.