Minor improvements in examples

superseeds #33