tweak display of pkg list and other cleanups