1. added scale option.
2. encapsulated Image object to the Window object. Now it is created only when Window is started.
3. added saving setting to the session storage