properly transported CURVEMIXER function out onto the window object.
lots of cleanups to HANDLE, SEGMENT objects. Properly exported CURVEMIXER object to window.