Avoid a GDI resource leak when repeatingly use WM_SETFONT + fixed some project settings