New msgtx generation

yes, let's leave that for another PR.