Implemented text editor and plugin initialization.