Added check for plugins.txt when reading it to get the active plugins list.
Fixed local app data path corruption.

Wasn't converting from UTF-16 to UTF-8 when going from wide to narrow
character strings.