make sure we don't crash if generate is pushed when no model loaded.
make sure we don't crash if generate is pushed when no model loaded.

CodeMangler/MatterControl,CodeMangler/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,ddpruitt/MatterControl,gregory-diaz/MatterControl,MatterHackers/MatterControl,gregory-diaz/MatterControl,rytz/MatterControl,tellingmachine/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,ddpruitt/MatterControl,jlewin/MatterControl,rytz/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,ddpruitt/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,MatterHackers/MatterControl,larsbrubaker/MatterControl,rytz/MatterControl,mmoening/MatterControl,tellingmachine/MatterControl,CodeMangler/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl