updates according to logic class

1. add comments in ListViewItemComparer
2. updates logic's use in mainForm.cpp
3. format indent in mainForm.h