persist debug panel selection, moved ui related stuff out of inspectorSettings.js