If you get the “L2.exe has stopped” error that’s different from a critical error. It’s an alt-tab issue. Maybe your windows auto-updated or something, but still as I said you need to:
Also try focusing the chat window (Press Enter) before tabbing out of the game.
So when you tab out (whether it is minimize window or alt-tab) the chat window is focused.