Added a setting to MaterialManager to not keep texture data in memory af...

...ter uploading to video card