Improved wysiwyg and better map field validation for duplicate keys