Squashed the last texture bugs

I searched the whole code and replaced the last occurences of using the old texture path. This should be the last of it.