Report GUI is almost finished. Fixed CalcMaxPurchaseRatio
Merge remote-tracking branch 'origin/master'