Factor out query packing/unpacking into queryUtils.
Remove columns from table display.