Since last week I moved the menu above the context tabs, created a proper selection manager where selection is can only be of one type (so files, or scene-objects). selection and hierarchies are now also stored in a context object which is associated with the context tab. so each tab has its own selection/hierarchy. renames of an open file now also rename it in the context tab, and the hierarchy root.
finally I also added some simple dialog boxes. now to make mult-selection work in the details panel, which requires me to improve the data structures that have to do with that..