Refactor login items-related code (to eliminate code duplication) and kill some memory leaks in the process
Refactor login items-related code (to eliminate code duplication) and kill some memory leaks in the process

princeofdarkness76/gfxCardStatus,msravi/gfxCardStatus,msravi/gfxCardStatus,2020Deception/gfxCardStatus,raziel2001au/gfxCardStatus,msravi/gfxCardStatus,2020Deception/gfxCardStatus,princeofdarkness76/gfxCardStatus,pajp/gfxCardStatus,raziel2001au/gfxCardStatus,2020Deception/gfxCardStatus,princeofdarkness76/gfxCardStatus,pajp/gfxCardStatus,raziel2001au/gfxCardStatus,pajp/gfxCardStatus