simple_talker: extract MRP code, remove forgoten local var.

Confusing: some variables local to main() hide the global ones.
Remove these locals.