Editor now properly clears the text area before placing an opened files contents in the text area.