fix ternary
vm logging
setup to debug badly wrapped texture
setup to debug badly wrapped texture