Partial work on mouse control.
Maintaining aspect ratio during scaling.
Added scaling via right-mouse drag.