turn off toolbar items, instantiate maintoolbar from class name