fix line endings (remove bogus windows CL RF line ending); also fix an assert that fails to print out stack trace with debug info.