Fixed non-seeding RNG, various speed improvements