CompareAPIMain - report for stdout and TXT file
Code style fixes