Refactored character editor.