remove unnecessary addslashes. try to output correct debug map (now #each works)
now output ANSI color for debug
refine debug output