Framework: Add error measures sect. + minor fixes.
Remove text that was commented out.
Framework: finish it.
Framework: Fix a few issues.
Sequences: Rewrite most of it based on the framework.