Fixed NPC.AddEntityRelationship priority argument reading from the wrong argument. Also made it optional ( defaults to 0 )
Fixed effects/base.lua being included twice
Fixed ai_debug_enemies (and probably other NPC debug stuff) spewing nonsense to console
Added some crash checks to CShaderSystem::TakeSnapshot