Bug fixes.  Changed close() to stop().