Prevented an endless loop crash related to EVENT_TASK_STAGE_COMPLETE.
Implement ability for NPC Merchants to open and close shop