automatic mipmaps for canvas textures
improve setprop / getprop performance
Several thread safety and correctness fixes