Add 'Tag' to the methods of TextureFactory
Use runtime.LockOSThread at main
Add cocoa.textureFactory