Also added a base class for all graph nodes, fixed issues with graph/remote interactions.
Moved handling of the "global" definitions of shaders into main shader generation code. Added group creation (does not create inputs yet, and remotes should be cleaned). updated all preview meshes (to fix problems with depth).