'w' randomized into overlay[][]. fixed srand init in util to only seed once in program life