Added keyboard shortcuts for copy and paste toolbar items.

Also changed code so that menu bar is displayed by checking toolbar
index and not toolbar name. New menu bar is now only displayed when the
new selection is different from the previously selected menu.