Hi. I've always found it annoying not to be able to alt-tab out of TDM or use Task Manager while in full screen. So I added this line to win_wndproc.cpp, line 293 (after win32.movingWindow = false)
ShowWindow(hWnd, SW_MINIMIZE);
It should do the same thing as @eqagunn 's Simple Minimizer script.
There's a problem when minimizing the game during map loading: sometimes the game will crash back to menu with ERROR: CropRenderSize: bad sizes. The minimizer script has the very same issue.