Changed to treat a dire warning as an error

Returning address to local/temporary
Removed unused argument from GUIElement::SetUpQuad
Removed "static" from GUIMaterials class definition
Fixed small bug in EditorMaterialSet get params methods