Alt+f4 is a terrible shortcut to close a window that we've copied from Windows and kept around without ever thinking if it's a good idea or not. f4 is often not present in keyboards, and super unreachable for something as frequent as "close".
ctrl+q for quitting and ctrl+w for closing tab/file/view are super convenient, and I really think that's the direction in which we should be converging.