There is no problem coding in codeblocks, just don't forget to save your code. As you say it will crash on shut down, and in addition to that when saving configurations and when running some plugins. Avoid the threaded search or whatever its called. I don't know if its more stable if you compile your own but it might be, the last binary is pretty old.