Added test for main controller. Fixed error messages. Added default winning fraction in winning rate tooltips.