Fixed issue:
* crash when state passed as nil
* copied library into demo projects
* updated library information (debug output in console)