Good news people!
I just installed Ubuntu 5.04 (Hoary Hedge) on my system, and the effort has finally brought its fruits!
I COULD FIX THE EVER-PRESENT CRASH ON EXIT!!! The error was due to deleting nodes which contained the files. But then, the Notebook would destroy itself (as it should), deleting its contained editors (as it should). But it also deleted the editors that were PREVIOUSLY deleted! This would cause a segfault on Linux (Windows is too dumb to detect these). Fortunately, I was running the debug version of codeblocks under Linux GDB, and it showed everything!
This made me realize where the problem was.
So I replaced all that for a simple solution: Close all files before doing the cleanup (D'OH! :lol: ). And to my surprise, this would make Code::Blocks close INSTANTLY! No 2 second delays!
Anyway, I have to apologize, because I think it was I who caused that bug when trying to optimize something 3 months ago :oops:
Anyway, I detected a couple of dialog bugs in Linux, something to do with SetString. Well, I guess it's time to fix all those Linux bugs!