Fixed srcBlend not being updated
Added GetNearestPowerOfTwo
Added experimental implementation of ByteArrays