Fixed Compare logic

* Compare show right diff now
* Give right names to some variables
Version 2.2.0