Added plugin mode to text panel