Removed (most of the) code that was the cause of undefined behaviour.
Created by: SkyToGround
I had to re-write the functionality of the exit handler a bit to do it. While I was at it, I also modified a few minor things in main.cpp.
Created by: SkyToGround
I had to re-write the functionality of the exit handler a bit to do it. While I was at it, I also modified a few minor things in main.cpp.