Separated URL share code into TextCopyHelper.js
Fixed #3 (URL share not closing after it has been reopened).
Minor improvements to readme.