Implement user tagging in API
Fixes broken selection; many refinements to the ui; performance improvements and other fixes