Use bool from stdbool.h after switching to C99
Correctly updated window pixmap after i_fit_to_img()
Correctly set window height after i_fit_to_img()