Fix some typos.
Add ctags target.
More style changes.
Split Max into an operation.
Refactor includes for CMake.