Bug fix; started implementing analysis.
Started implementing analysis.
Cleanup.