Corrected LSBackgroundOnly value

Thanks for not bothering to interpret the old “1” value, Xcode.
Switch to using NSApplication

Enables, at the very least, nice quit via Apple Event.