NPC Config edit form

Added Reset button and fixed bugs