fixup examples to work without comm world closes #3055
Merge pull request #3059 from friedmud/examples_3055

fixup examples to work without comm world