Finished W/L function.
Add image zoom when resizing dialog.