added msgfun.nest in examples to experiment with self-scoped procs (even though that's not part of the bigger picture just yet