Support new configuration file format courtesy of Chris Savery which can write the config file from the menu and will load it on startup.