Element tree expand button state change fix
Uses extension ID as namespace
Added namespaces to event names so it doesn't clash with any potential DOM events