slash: removed trailing spaces
ui: make the ns version an instance
lib: refactor to use less global lookups
options: add options ui
options: add registered panels to the ui