sequencer: refactor append_todo_help() to write its message to a buffer