Fix local echo in embedded mode (#4498)
* fix local echo
* dont use custome event emitter anymore
* move logic into updateTxId
* temp testing
* use generic eventEmtitter names
* add tests
---------
Co-authored-by: Robin <robin@robin.town>
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>