Added theos compile support, UI made cleaner for the text editor