major clean up

mesh operations and primitives moved outside meshshape

activeshape and related commands moved outside of glwidget