cleanup of editmenu to Tabs interface.  turned editmenu into class to avoid namespace collisions, and prevent problems with ui loading