Update CMake.
Simplify state nonsense.
Enforce line length.
Merge branch 'release/v0.8.2'