Added menu utility for graphical GUI.