This patch has the extra benefit that the stack trace actually appears
on Windows now, instead of going into the void.
Tested by Vladislav, refs #4419
This was SVN commit r19045.
Giant merge from
http://svn.wildfiregames.com/hg-source/file/5fb522019d5e
Infrastructure is largely complete, gameplay is largely missing
Disabled by default; use command-line flag "-sim2"
(Second attempt at commit...)
This was SVN commit r7259.