Various example fixes
Merge pull request #756 from tbarsballe/ysldexamples

Various example fixes