RPC fixes to populateRPCTransactionObject
add totalBought vars
latest changes