Fixed various plaintext parsing issues, changed to new record segmentation rules