Fixed issue:
* fixed wrong state flag which prevented catchup to go in correct way

Tweaked:
* added proper handling of error, which may occur during client identifier update
* copied library into demo projects
* updated library information (debug output in console)