Added hotloading of textures.