Minor flux-chat example code cleanup
Merge pull request #4 from pieterv/example-cleanup

Minor flux-chat example code cleanup