Added GUI for CSG

Also made a few more changes to support generation