Bonus challenges implemented

I have implemented the bonus challenges.  Only thing is, I found a bug
where the percentages aren't correct when there are both wins and
losses.  So consider this buggy/incomplete.