Fixed bug where the shapes would not switch back from displaying "Undefined" unless driven from the tessellation.
Note: There is still a bug with the program crashing the renderer, and a bug with removing tabs (crashes immediately when clicked).