Bug fixed: prevent expected infinity loop on events get-delete messages
Bug fixed: wrong debug mode usage. Refactored errorHandler. Implemented displaying general error.
Merge branch 'dev' of github.com:MySmile/sfchat into dev