Throws a couple of PHP notices when Airport Mode is enabled

Just wanted to report these notices when I have both QM and [Airport Mode](https://github.com/norcross/airplane-mode) enabled:

![screenshot 2014-08-01 09 34 13](https://cloud.githubusercontent.com/assets/30460/3778748/f0464912-1978-11e4-8b1b-8b4d741e5d11.png)