added custom doc and win functionality

fix tests

removed diff
Merge pull request #324 from botverse/custom-doc-win

added custom doc and win functionality
Updates dist files
1.9.10
added on method
passing tests
passing tests
Merge branch 'tear-down'