Clean up menu and implement functionality.