Added validation of dialogue files and NPC properties