Removed unused imports and variables from the talkeditor frontend