more fixes, and added ability for dividends to be made in more than just XCP