Rewrote the mouse drag code for Icon & Window.