DARTBUG for htmlEscape
Passing less information into writer methods
simplify EOF for close