implements tabbed view in mdiarea and adds entity icons to toolbar