Crash fixes

The first fixes #1848
I dan't believe it was never brought up before

The 2nd fixes a crash I've just been experiencing since I enabled the "switch input type when activating QS" pref.
I can't believe that this was never brought up before either! :P
That is - enabling the hotkey *before* QS has even finished setting up properly is bound to cause problems. I'm hoping that my change may also stop lots of the EXC_BAD_ACCESS crashes I get (and presumably others) in `QSLib` when just launching QS and not doing anything in particular.