Define _WIN32_IE for SHGFP_TYPE
Don't prompt for reload from infobar when there are no unsaved changes

Also warn about losing undo history when there are no changes.