minor fixes/improves

minor fixes/improves including adding subtab "entity categories" in entity view mode