Volume and variant storage and fixes.
* Use sharedObject to store volume and variant preferences.
* Fix the comment where the commentFile rather than commentVariants is provided.