More work on texture refactoring.  Added an EmptyTexture class to represent null textures.