Enhance category-tree printing, parse preference classes from INFILE