trim down the debug output and add a bit of color.