fixes for when text from plugin is unicode
Merge pull request #34 from aspiers/unicode-fixes

fixes for when text from plugin is unicode