packed-backend.c: rename a bunch of things and update comments