#5878: Ensure surfaces are drawn before executing full-screen render commands, and when at the end of the render command list.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Add trap_Alloc (works with DLLs and QVMs!)

Dlls can share memory by allocing using the same size and memory tag string.
Make game use trap_Alloc
Remove g_debugAlloc
Merge remote-tracking branch 'upstream/master'

Conflicts:
	code/game/g_mem.c
	code/server/sv_game.c
Clear VM memory tags when the hunk is cleared
Merge remote-tracking branch 'upstream/master'
Use trap_Alloc so DLLs share item/weapon info

Only have to load item/weapon scripts once and use memory for one copy but access in game, cgame, and ui!
Remove internal item info
.item and .weap are general references

Client currently must have all the items and weapons that server has.
Unifdef TA_ITEMSYS, the items loaded text files system
Remove TA_ITEMSYS from Makefile
Remove ITEM_INDEX macro
renderer -> renderergl1, rend2 -> renderergl2
Fixed build for mac (s/rend2/opengl2/)
5097 - Menu corrupted on start (on IRIX)
5717 - Gamecode can open file "" for reading
Remove unneeded variable extern