Add examples.

Add automatic handling of adding/removing threads a la Apache.
