There's a problem with the CodeStats window. If you execute this plugin one or two times and then look at a list of open windows like the one you can get using
winspy++, you'll see that it's still open, but invisible and no longer "modal".
It should be a problem with the dialog not being modal when created, and the use of EndModal when you close it. I'm not familiar with wxwidgets so i don't know what to use instead of EndModal

