Properly save replay even when the game crashes (fixes #5610)

I simply wrapped the run loop and the orderManager disposal in a try/finally block. The rest is whitespace changes; [add ?w=1 to the url to ignore whitespace](https://github.com/pavlos256/OpenRA/commit/e19dae8eeca66d72a5d1efbab6803bcdb70b9377?w=1).

I tested it before and after using the new /crash command.