Here is another example of my suggestion to make Clearwin and OpenGL crash only deliberately at the user request.
The get_opengl_mouse_state@ is crashing the 32 bit program (64bit is OK) with error message 'No OpenGL buffers are open'. Not open then not open who cares, why just not wait till it will be opened if it will be opened. It takes one pixel and just microseconds to wait till the next request will come. But no, get the crash into your face because the crash is what fortraneers always used for debugging, they don't know and don't want to know advanced tools
Meantime program should tell the user in the popup bubble about this problem. I can imagine the program on the satellite flying to stars crashing due to that minor reason and no one can restart the program or recompile.
Clearrwin and OpenGL are parts of GUI by definition involving interaction with the humans. Let's people decide to crash the external shell or not!