ooof, this is rough. No shade, I absolutely love #kicadStepUp and what easyw has accomplished is super impressive.
I have a project I'm trying to use KSU as a dependency, and looking at the code shows it just not possible in it's present state.
It's a plate of spaghet' (mmm) with tons of side effect producing functions with many globals and hardcoded assumptions all over.