Well if there were any errors, they should still be in the console, even after it exited to the main menu.
So if you open the console after it exited the map, do you see any useful information? Perhaps: "Command overflow. Possible inifinite loop in thread"?
Anyway I'm especially looking for script files and line numbers

.