fixed #69 tabbed panes are shown automatically when pasting objects with data belonging to a tabbed pane
improving #69 added a null-check to prevent NPE's