Re-implemented array types to use internal arrays, while doin many of the jobs of lists
merged arrays branch, with non-recursive gc.