editor: added a highlight for raw data
editor: moved tab renaming into separate tab_rename() and tab_rename_current() functions, created tab_remove() and tab_remove_current(), added menu items for tab rename and removal, added handling of "disabled" and "dont_hide_popup" parameters for popups