Fixed broken dRand() and some arena stuff