Got imagedata working properly for the most part

the issue was caused by the entire array pointing to the last imagedata
there is still an issue of image data not blending