Add DebugPrinter class
Visual update for sample.html