redirect text output to new compare window, code clean-up
console output is now working