Cleanup mono.c into distinct sections.
Don't use mono_string_to_utf8, it does a heap allocation. Use LLVM ConvertUTF with static char buffers instead.
Free Mono appdomains without crashing.
Move shared game code (bg) out of ioq3.Core and into ioq3.Shared.