plumber removal from html task, not used here yet. added end and error event to the stream, trying to get the events hooked up right