Fixed bug with saving scale incorrectly.
Made Edit window a blocking dialog window.