Cleanup g_ai.c and add sanity checks
Cleanup g_chase.c and add sanity checks
Cleanup g_cmds.c and add sanity checks
Cleanup g_combat.c and add sanity checks
Cleanup g_func.c and add sanity checks
Cleanup g_item.c and add sanity checks
Cleanup g_main.c and add sanity checks
Cleanup g_misc.c and add sanity checks
Cleanup g_monster.c and add sanity checks
Cleanup g_newai.c and add sanity checks
Cleanup g_newdm.c and add sanity checks.
Cleanup g_newfnc.c and add santiy checks
Cleanup g_newtarg.c and add sanity checks
Cleanup g_newtrig.c and add sanity checks
Cleanup gnewweap.c and add sanity checks
Cleanup g_phys.c and add sanity checks
Cleanup src/g_spawn.c and add sanity checks
Cleanup g_sphere.c and add sanity checks
Cleanup g_svcmds.c and add sanity checks
Cleanup g_target.c and add sanity checks