Added TextureManager class to check for allocations