Convert more code to use the logger facility.
Add error and warning colors.