Fix texture release bug.
Rotate texture.
Remove debugging output.