I'm not sure if you should spend any time investigating this as it seems that loading my xretrace macro code causes this problem.
Right click on any toolwindow title bar gives the stack error below. I can't reproduce this on a clean config but if I start a clean config then load all my macro files then I get the following stack every single time. BTW - if I also import my options I get two errors in the message list - both regarding "Minimap font does not exist on this machine".
Invalid name index
toolwindow.ex 11357 _on_tool_tab_context_menu(343,Projects,343,Projects,0) p_window_id: 343 p_object: OI_FORM p_name: _tbprojects_form
To reproduce, start a new empty config, unzip the folders in the attachment into the config folder, then load the file LoadMyModules.e from the my-macros folder and run the command load-my-modules. It will prompt for the folder - just click ok, then it will load my macro files one by one - just click ok for all. When it's finished, right click on the titlebar of any toolwindow and you should get a slick stack.
I'm not 100% sure that it's xretrace that's the problem. xretrace.e is a little unusual in that it #includes xretrace_control_panel.e which #includes xretrace_form.e.
xretrace_control_panel.e has some macros (#defines) that do some code generation.