2nd refactor of scalehandle (including some changes to structs t_scalehandle, t_iemgui, t_canvas)