lots of docs, bugfixes, crossplatformity