Lots of code removed from BasicTextureLoader :D