Fixed some bugs. Cleaned up the code.
This example was removed.