Fixing docs, adding example, fix win32 support