Same functionality as last commit. This commit is to merge with master.
Fixed implicit withdrawals, poison reverse. Tried many edge cases. Seems to work fine.