Cleaning up more code
[~]Reduce the amount of code where using for simply checking whether the texture is in our list or now.