Cosmetic improvements

Changed image size as a function of window size