Add debug mode.
Enhance before / after parser and html wrapping.