Bugfix in typeahead.toHtml causing StringOutOfBounds. Removed auto-editing of ern, and id in catalog class, when editing either of them