[Retrieve Metadata] Fix focusing for tab mode
[Retrieve Metadata] Fix up comments