Pulled GUID generation logic from WARCreate. Fixes #9