ocr tidy routine simplified, parserutils tests extended
parser improvements