added better long-field-name support, added formatted display of values after edit, cleaner handling of empty values