Move getAttachEventType back into panels, not generalized
Add helper for getting docShellTreeItem root from window
page-worker now based off of event signals hooked into system events