Diable log console close button, and ctrl+C effect.

Avoid to close the application when the log console is closed.