Split util file into exit, and trace files. Tweak logging routines.