more pdp8 and minor cleanup