Changed multibutton implementation: now making use of of a dictionary of tabs (turns code more exportable)