Cleanup and commenting.  Cleaned up runloop source.