Few bugfixes, more docs.