Proper Configuration File Folder

On more recent Windows versions programs do not have write access to their own program folder, thus nmcontrol can fail to launch when trying to write the config files. This patch tries to figure out the proper configuration file folder where programs have write access for every OS. Thanks to Jimmysong.