improve debug formatting, add linux termianl color output to it

(yeah, really necessary, eh? ;)