Payouts improvements

A fair bunch of improvements in the payouts app.