Fixed rand engine and quietmode.