I have worked on the margin Calc button to improve it further. If a team wins by wickets and if maxovers has been entered for the 2nd innings then it will also work out how many balls to spare there were:
Give it a try today!
Also, I fixed an issue where the calculator function wasn't working properly when the away team batted first.