* Initialize the config dialog properly and try to save config values.
* Fix incorrect Windows 8 detection and register the icon properly.