CT_MultiLevel: add consts, remove dead vars to reduce compiler warnings
CT_MultiLevel: fix memory leak using malloc
CT_MultiLevel: remove does end-of-line marker
whitespace only change
Should be mostly straightforward with the exception of the last one which, since it changes line ending, changes every single line in the affected files.