Mod Setup and Auto-Resize

Add the method "interrupt", now the image is loaded in the setup.
Auto-resize window according to operating system.