* MathUtils: Use crypto.randomUUID() when available. * MathUtils: Define generateUUID outside statement. * MathUtils: Fixed linting issues. * MathUtils: Made crypto check more robust. * MathUtils: Added TODO note. * MathUtils: Fixed linting issues again.