Fix z-index in widgets and console. Other work in progress for nested
entities and selection of them.