use edge ui setting to control dev menus correctly
Merge pull request #289 from ravolt/edgeui2

use edge ui setting to control dev menus correctly