Fixes #129: Only use notification center if it is available.

This tests whether notification center is there before trying to call it. I don't have on older OSX so I can't really test this but I think this is right.

I also made the options in preferences disabled if notification center isn't present.