Refactored send module to remove persistentTx factory, and better error messages