fixes use of bind() and changes the menus to be controlled components"