changes during meeting 2014-02-18;  tidying and refactoring of sew() fun...

...ction;  tidying .Rhtml example