Error handling for jabber front end.

- Turns out sometimes random stuff happens and stuff stop working and
  logibros would have loved to know before things started dying.