Improved vfsDevice.
Minor fixes.