this or that...
Good news, bad news...
I've changed the status of QSHP from singleton to normal and invoke instances, whenever needed. It seems to be working, with the exception of
XHTMLHighlighter, which doesn't get the languages right of course, sending some random garbage instead of proper text... had to disable checking end-begin of the tags in the stack to get some action.
Bad news.
I loaded "A Memory of Light" (some 362 908 words) and even though the normal Sigil is quicker, the
SpellcheckEditor, seeking for word, time lag was subjective OK. Then I loaded "ESV Bible", some 1 250 882 words, and the things got weired. Instead of original ~2-3s I got bis to 10s lag.
Not acceptable. Some optimization is due...
But it (mostly) works like magic

.
tbc...?