Fix stupid crash on minimize bug.
Fix zero window size after failed minimize / maximize.
Add FreeImage and AssImp code under IBL_USE_ASS_IMP_AND_FREEIMAGE=1