More documentation work. Mostly on the material editor.