Core withdrawals

Greatly simplify the withdrawal processing logic!