Images properly read and resized

SUPER IMPORTANT! Use the latest version of Iup (yes, you might have to compile it) because one of the functions horribly mangles the displayed image