changed compare window code
added if condition
Merge branch 'master' of https://github.com/Thanu/SAT