image reload support; warnings fixed + win build