Show error messages when socket, request fails.

If the websocket ever becomes disconnected or an ajax request fails, show a throbbing error on the page until it either reconnects or a successful request is made.