Ptrans improvements

Some smaller improvements to ptrans I had on disk