changed toolbar construction so that groups and dropdowns may be added