Operating system: Windows 10
Graphics card: GE Force GTX 1050
Short description of error
After toggling the console on, if you exit the console window by clicking the "X" it quits the entire program, losing all of your work.
This is definitely a bug and not a feature, both simple and serious enough to fix. I get that blender is a console program, but you should have access to the readout in a separate rendered window that is safe to close.
Exact steps for others to reproduce the error
Toggle console on. Click "x" to close the window