move to mgl and fltk