next C compiler code cleanup
reformat source files
use bool type where approriate