Add "dev-tools-opened" and "dev-tools-closed" events.
Remember loaded extensions.
dev-tools => devtools.