Fix bug in safeCopy.  Fix bug in character count on status bar.
Merge pull request #25 from Teklad/master

Bug fixes.