Fix "interface not loading" bug.

Encoding to base64 can generate string with "/" character, and win.updateTheme() is not able to load interface in such case.
Merge pull request #44 from restorer/master

Fix "interface not loading" bug.