Added smarter use of console.debug.apply() instead of loops which allows for the use of formatting (using %c in the output string along with further arguments denoting the styles to apply).