decreased loading time, fixed canvas getImageData bug