CTRL-W is the keyboard shortcut for closing an internal window. If I've say 3 files open and I want to close them I may press that keyboard shortcut repeatedly. But if there are no windows open then the application shuts down. How can I stop this happening? It's not standard behaviour and it's a bit irritating. If I want to close the application I will use the standard ALT-F4 shortcut.