Split Grid into Grid and Grid_GUI.

Should help to build Yade on machines with a low RAM