Add usecase flowchart.
Various fixes.