improvements in path drawing
Merge branch 'master' into gh-pages