Folding in flatmsg functions into bbslib...