Remove commented out and unused code.
Add "Scale Proportionally" checkbox.

This enables the user to scale the ROI proportionally.
It is a checkbox element in the Measurement Tool that, when
activated, will change width and height in unison.
Clean up imports and refactor code.