fixed ANSI color bug; silenced "unused" warnings; fixed missing M_LN2 macro