Added support for assigning the killing of NPC's for tasks.
Fixed a null error when comparing NPC entity names.