API break: spawn deprecated in favor of Thread::spawn
Include examples and include them in README.md

Also fixes a compilation error in the properties example