Disable log console close button and ctrl+C effect

Avoid closing the application when the log console is closed.
(try this time a new branch for only pull request one commite)