Add support for multiple hubs in config UI, fix some config save issues too (hopefully).