Further refactorings and improvements to the vsx_texture class.