Add some debug
add some error handling for textures
Upgrade pixi version