Add option to hide connection failure messages.

When using a computer that isn't always connected to the internet, it gets annoying seeing the failure notifications coming up every few seconds. So I've added an option to disable the failure notifications, however they are on by default.