fixed error handling during processing of connect response
fixed counting of unread notifications and their display