Callback when any window created / when namespace changes

It’s me again with another niche thing around the gameexporter and callbacks! A twofer today! So close

Is there any way to get events to fire when the gameExporter window is opened (without sitting in the idle event forever) and without editing the installed scripts in local copies.

And / or any event to fire when the current namespace is changed. I’m getting issues in my pipeline when, for example “nonDAGNode” becomes “:nonDAGNode”.

I’m trying to deal with edge cases for a script that colours the anim clip in the UI based on current frame, but when my users change namespace which is done by some exporting tools, it tends to get confused when the UI gets refreshed

thanks