Fixed issues with changing textures, and restarting