add a safe version of all materials.
improve the camera switching some more.