Create context menu for AssetQueryEditorWidget.
Clean up other menu code.