Made adjustWindowSize less sensitive to windows sizes
Commented logs