#44: Rewrote the editor in the new editor and added several functions.