Use single quotes writing config file to prevent some code to be interpreted; fixes #872
Fix plugins upgrade version display; fixes #875