Add support for migrating legacy global preferences into profiles
Cleanup upgrade logic and use correct modName var
Minimize unnecessary changes
Merge branch 'upgrade' of https://github.com/pwoodworth/MouselookHandler into pwoodworth-upgrade