fixes to metadata management, updated select editor, layout changes