swap_ack implemented with controllable queue size

Fixes #29