Made updater work. Merged sk89q's fix for certificates.