update parser function coreOUTPUT

Removing about 20% of the code as no longer required.  Further
simplifications still to come.