Be compatible with older OS X than 10.9
Killall Terminal once switch is flipped

Otherwise none of the profile changes we make will be activated in existing sessions.