request event handlers are now bound to the document body by default
replaced worker main() pattern with local.worker.setServer()