Added support for colorized (console) logging, while leaving the file logging uncolored.  Code is messy and needs cleaned up.  Checked in validate.py which was a stub validation routine written several months ago and which needs an audit and updating.