cgame: CG_EntityEvent optimized, clean up