use createPopupMenu() to create "Tools" menu.