fix appname, influences registry location on windows
Merge pull request #394 from leofidus/1.7-registry

fix appname, influences registry location on windows