Tidy queue shift.

See #103.