fixed more potential locale issues
minor PreviewPkgs() code cleanup
tagged 3.4.0