Well, it's already quite a vast amount of code, maybe overcomplicated in a few aspects. It might be that FreeCAD is less tangled, but I checked it maybe twice in life, so cannot compare. Feel free to ask if anything looks unclear.very impressive.
I will have to sit down an study your code, I have a lot to learn.
That's a good question. Actually, if you wanna check the full list of commands, you can execute
show-commandsin the editor and hover the mouse cursor near the command name.