Added sm_graphics_random cvar.

* Added sm_graphics_random cvar.
* Fixed bug with rotation after sm_graphics_file changes.