Touched up ArrayUtil. Various other small changes