Merge pull request #11 from pmur002/master

Paul changes
some improvements + new example (minimal.Rhtml)
paul tidying