support for ties and winrate threshold

added support for ties at best winrate and filtering based on minimum
winrate